// 处理接收到的tellraw聊天命令
const Response = require("../../class/Response");
WSC.onMessagePurpose('commandRequest', (wsclient, req, res)=>{
    // 根据配置文件拦截聊天显示, 不接收聊天命令
    if (req.requestId == CONSTANTS.REQUEST_ID.PLAYERCHAT){
        if (!CONF.CONFIG.get('SyncConfig')['Enabled'] || !CONF.CONFIG.get('SyncConfig')['SyncReceiveOption']['syncChat']){
            return false; 
        }
    }
});
